﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="DetailProduct.aspx.cs" Inherits="TVC_WEB.Admin.Page.DetailProduct"
    Title="Untitled Page" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            background: #1d5891 /*#4C80D4*/ none repeat scroll 0 0;
            text-align: left;
            color: White;
            font-size: 17px;
            font-weight: bold;
            font-family: Arial;
            padding: 6px 0 6px 20px;
            height: 33px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlacebody" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <%-- <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadtvCategory">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radtree"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>--%>
    <table align="left" style="width: 100%;" width="100px">
        <tr>
            <td align="center" colspan="5" class="style1">
                CHI TIẾT SẢN PHẨM
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td style="width: 86%" colspan="4">
                <asp:Label ID="lblErr" runat="server" CssClass="errorText"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td style="width: 86%; text-align: center;" colspan="4">
                <asp:RadioButtonList ID="DropDownList1" runat="server" AutoPostBack="True">
                    <asp:ListItem Selected="True" Value="vn-VN">Nhập tiếng Việt</asp:ListItem>
                    <asp:ListItem Value="en-US">Nhập tiếng Anh</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                Mã :
            </td>
            <td style="width: 86%" colspan="4">
                <asp:TextBox ID="txtCode" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 30%">
                Mã Sku :
            </td>
            <td style="width: 86%" colspan="4">
                <asp:TextBox ID="txtSkue" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                Tên :
            </td>
            <td style="width: 86%" colspan="4">
                <asp:TextBox ID="txtname" runat="server" Width="500px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Diễn giải ngắn:
            </td>
            <td style="width: 86%" colspan="2">
                <telerik:RadEditor ID="txtShortDesc" runat="server" Skin="Office2007">
                    <content>
                    
                    
                    
                    
                    
</content>
                </telerik:RadEditor>
            </td>
            <td style="width: 86%" colspan="2" rowspan="2">
                <br />
                Danh mục :<asp:Panel ID="Panel1" runat="server" Height="100%" ScrollBars="Auto" Width="100%">
                    <telerik:RadTreeView ID="RadtvCategory" runat="server">
                        <databindings>
                            <telerik:RadTreeNodeBinding Expanded="true" />
                        </databindings>
                    </telerik:RadTreeView>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                Diễn giải dài:
            </td>
            <td style="width: 86%" colspan="2">
                <telerik:RadEditor ID="txtLongDesc" runat="server" Skin="Office2007">
                    <content>
                    
                    
                    
                    
                    
</content>
                </telerik:RadEditor>
            </td>
        </tr>
        <tr>
            <td align="right" style="text-align: justify">
                Ảnh :
            </td>
            <td style="width: 86%" colspan="4">
                <asp:FileUpload ID="FileUpload_image" runat="server" Width="218px" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Image ID="img" runat="server" Height="64px" Width="64px" ImageUrl="~/Uploads/Image/noimages.jpg" />
                &nbsp;
                <asp:CheckBox ID="cbpic" runat="server" Checked="True" Text="Chọn ảnh" />
            </td>
        </tr>
        <tr>
            <td align="right" style="text-align: justify">
                Ảnh icon :
            </td>
            <td style="width: 86%" colspan="4">
                <asp:FileUpload ID="FileUpload_imageIcon" runat="server" Width="218px" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Image ID="imgIcon" runat="server" Height="24px" Width="24px" ImageUrl="~/Uploads/Image/noimages.jpg" />
                &nbsp;
                <asp:CheckBox ID="cbpicIcon" runat="server" Checked="True" Text="Chọn ảnh" />
            </td>
        </tr>
        <tr>
            <td align="right" colspan="1" style="text-align: right">
                Giá cũ:
            </td>
            <td style="width: 50%" align="right">
                <asp:TextBox ID="txtoldprice" runat="server"></asp:TextBox>
            </td>
            <td style="width: 50%" align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" colspan="1" style="text-align: right">
                Giá mới:
            </td>
            <td>
                <asp:TextBox ID="txtnewprice" runat="server"></asp:TextBox>
                (0: hiện <b><span style="font-size: large">CALL</span></b>) &nbsp;
            </td>
            <td style="width: 50%" align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" colspan="1" dir="ltr" style="width: 10%; text-align: right;">
                Chất liệu :
            </td>
            <td style="width: 50%">
                <asp:TextBox ID="txtWeight" runat="server"></asp:TextBox>
            </td>
            <td style="width: 50%" align="right" colspan="1">
                &nbsp;
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" colspan="1" dir="ltr" style="width: 10%; text-align: right;">
                Kích thước :
            </td>
            <td style="width: 50%">
                <asp:TextBox ID="txtDimension" runat="server"></asp:TextBox>
            </td>
            <td style="width: 50%" align="right" colspan="1">
                &nbsp;
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" colspan="1">
                Hàng tồn
            </td>
            <td style="width: 20%" colspan="4">
                <asp:TextBox ID="txtwarranty" runat="server" Width="500px"></asp:TextBox>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                Khuyến mãi
            </td>
            <td style="width: 86%" colspan="4">
                <asp:TextBox ID="txtPromote" runat="server" Width="500px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                Tình trạng :
            </td>
            <td style="width: 86%" colspan="4">
                <asp:RadioButtonList ID="rblIsViewed" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="1">Sử dụng</asp:ListItem>
                    <asp:ListItem Value="0">Không sử dụng</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                Hiện trang chủ
            </td>
            <td style="width: 86%" colspan="4">
                <asp:RadioButtonList ID="rblTypeViewed" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="1">Có</asp:ListItem>
                    <asp:ListItem Value="0">Không</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                Lần xem &nbsp;
            </td>
            <td style="width: 50%" colspan="2">
                <asp:TextBox ID="txtCountPreview" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                Đánh giá
            </td>
            <td style="width: 50%" colspan="2">
                <asp:TextBox ID="txtRate" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox>
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td style="width: 86%" colspan="4">
                <asp:HiddenField ID="hdProductID" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="center" colspan="5">
                &nbsp;&nbsp;<asp:Button ID="btReset" runat="server" Text="Thêm mới" OnClick="btReset_Click"
                    Width="100px" />
                &nbsp;<asp:Button ID="btSave" runat="server" Text="Lưu" OnClick="btSave_Click" Width="60px" />
                &nbsp;
                <asp:Button ID="btCancel" runat="server" Text="Hủy" OnClick="btCancel_Click" Width="60px" />
                &nbsp;
                <asp:Button ID="btAddImage" runat="server" Text="Thêm ảnh" OnClick="btAddImage_Click"
                    Width="80px" />
            </td>
        </tr>
    </table>
</asp:Content>
